package mvc.tubolar;

public class TubolarPanelController {

	protected TubolarModel model;

	public TubolarPanelController(TubolarModel model) {
		this.model = model;
	}

	public void setU(float n, boolean foo) {
		model.setU((int) n);
		model.notifyAllViews();
	}
	
	public void setRadius(float r, boolean foo) {
		model.setRadius((int) r);
		model.notifyAllViews();
	}

	public void setDiameterPoints(float d, boolean foo) {
		model.setDiameterPoints((int) d);
		model.notifyAllViews();
	}
	
	// set light or wireframes etc..
}
